package com.pandora.credit.mongo.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

/**
 * @author developer
 */
public class HistorySummary {

    @Field(value = "items")
    @JsonProperty(value = "items")
    private List<HistorySummaryDetail> historySummaryDetails;

    private String title;

    public List<HistorySummaryDetail> getHistorySummaryDetails() {
        return historySummaryDetails;
    }

    public void setHistorySummaryDetails(List<HistorySummaryDetail> historySummaryDetails) {
        this.historySummaryDetails = historySummaryDetails;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}